Skip to main content

Delete Ticket

AutomatR.HubSpot.Activities.DeleteTicket

The "Delete Ticket" activity in AutomatR is part of the HubSpot activities package, allowing users to delete an existing ticket based on the ticket ID from their HubSpot user account. This activity streamlines ticket management tasks within HubSpot.

Properties

NameDescription
Input
Ticket IDEnter the ID of the ticket that needs to be deleted from the HubSpot account.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds) to start the activity.
Output
ResultOutputs the result of the "Delete Ticket" operation, indicating whether the deletion was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Delete Ticket" activity onto the workflow.
  2. Configure the properties by specifying the ticket ID for deletion.
  3. Optionally, configure the delay if needed.
  4. Execute the workflow to delete the specified ticket in the HubSpot account.

Example: Consider an example where the "Delete Ticket" activity is used to delete a ticket with ID "ticket123" from HubSpot:

Delete Ticket:
Ticket ID: "ticket123"

In this example, the activity attempts to delete the ticket with ID "ticket123" from HubSpot. If the ticket ID exists, the activity will attempt to delete the ticket; otherwise, it will set the result to false.